.xtx-wrapper {
    background: #f5f5f5;
    line-height: 1.4;
}

.xtx-wrapper .container {
    width: 1240px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

.xtx-bread {
    padding: 10px 0 25px 25px;
}

.xtx-bread a {
    color: #999;
    padding-right: 5px;
}

.xtx-bread a:hover {
    color: #27BA9B;
}

.xtx-product-info {
    background: #fff;
    display: flex;
    min-height: 580px;
}

.xtx-product-info .left {
    width: 580px;
    padding: 30px 50px;
}

.xtx-product-info .left .pictrue {
    width: 480px;
    height: 400px;
    display: flex;
    position: relative;
}

.xtx-product-info .left .pictrue .中图片 {
    width: 400px;
    height: 400px;
    position: relative;
}

.xtx-product-info .left .pictrue .中图片 .黑色遮罩盒子 {
    display: none; /* 先设置隐藏, JS里控制盒子的显示 */
    width: 200px;
    height: 200px;
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute; /* 定位: 绝对定位 */
    left: 0; /* JS里通过不断定位鼠标的坐标, 给这2个属性. 实现 黑色遮罩 随鼠标移动而移动的效果 */
    top: 0; /* left 和 top,定位的偏移量 */
    cursor: move;
}

.xtx-product-info .left .pictrue .大图片 {
    width: 400px; /* 盒子宽高 */
    height: 400px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: absolute;
    left: 412px;
    top: 0;
    z-index: 999;
    background-color: #fff;
    display: none; /* 这个属性, 通过JS控制修改. 显示和隐藏的效果 */
    background-image: url(../images/1.jpg); /* 插入背景图, 这里通过JS修改图片路径 实现不同图片显示的效果 */
    background-position-x: 100px; /* 背景图的位置坐标, 这里的有点像 精灵图,截取局部显示. 这里的值随便设置,JS里实现 局部图随鼠标移动,移动显示*/
    background-position-y: 100px;
    background-size: 800px 800px; /* 盒子设置400X400,这里背景图大写是800X800,所以不能完全显示图片. 实现局部放大的效果 */
}

.xtx-product-info .left .pictrue .中图片 img {
    width: 100%;
    height: 100%;
}

.xtx-product-info .left .pictrue .小图片 {
    width: 80px;
    height: 400px;
}

.xtx-product-info .left .pictrue .小图片 ul li {
    width: 68px;
    height: 68px;
    margin-bottom: 15px;
    margin-left: 12px;
    border: 2px solid transparent;
}

.xtx-product-info .left .pictrue .小图片 ul li img {
    width: 100%;
    height: 100%;
}

.xtx-product-info .left .pictrue .小图片 ul li.边框,
.xtx-product-info .left .pictrue .小图片 ul li:hover {
    border-color: #27BA9B;
}

.xtx-product-info .left .other {
    margin-top: 20px;
}

.xtx-product-info .left .other ul {
    display: flex;
    width: 400px;
}

.xtx-product-info .left .other ul li {
    flex: 1;
    text-align: center;
    position: relative;
    line-height: 32px;
}

.xtx-product-info .left .other ul li::before {
    content: "";
    position: absolute;
    top: 15px;
    right: 0;
    height: 70px;
    border-right: 1px solid #e4e4e4;
}

.xtx-product-info .left .other ul li:last-child::before {
    display: none;
}

.xtx-product-info .left .other ul li p:first-child {
    color: #999;
}

.xtx-product-info .left .other ul li p:nth-child(2) {
    color: #CF4444;
}

.xtx-product-info .right {
    width: 660px;
    padding-top: 30px;
}

.xtx-product-info .right h3 {
    font-size: 22px;
    font-weight: normal;
}

.xtx-product-info .right .desc {
    padding-top: 10px;
    color: #999;
}

.xtx-product-info .right .price {
    padding: 10px 0;
}

.xtx-product-info .right .price .now {
    color: #CF4444;
    margin-right: 5px;
    font-size: 22px;
}

.xtx-product-info .right .price .old {
    color: #999;
    text-decoration: line-through;
    font-size: 18px;
}

.xtx-product-info .right .address {
    width: 510px;
    background: #f9f9f9;
    padding: 0 10px 20px;
}

.xtx-product-info .right .address .fw {
    position: relative;
    padding: 0 15px 0 10px;
}

.xtx-product-info .right .address .fw::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #27BA9B;
}

.xtx-product-info .right .address .lj {
    color: #27BA9B;
}

.xtx-product-info .right .address .box {
    width: 150px;
    height: 28px;
    border: 1px solid #e4e4e4;
    display: inline-block;
    line-height: 26px;
    text-align: center;
    margin-left: 10px;
    background: #fff;
}

.xtx-product-info .right .attrs {
    padding: 0 10px;
}

.xtx-product-info .right .attrs img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border: 1px dashed transparent;
    cursor: pointer;
}

.xtx-product-info .right .attrs img.active,
.xtx-product-info .right .attrs img:hover {
    border-color: #27BA9B;
}

.xtx-product-info .right .attrs .size {
    border: 1px solid #e4e4e4;
    padding: 5px 25px;
    display: inline-block;
    margin-right: 6px;
    cursor: pointer;
}

.xtx-product-info .right .attrs .size.active,
.xtx-product-info .right .attrs .size:hover {
    border-color: #27BA9B;
}

.xtx-product-info .right .attrs .num {
    width: 116px;
    height: 28px;
    border: 1px solid #e4e4e4;
    display: flex;
}

.xtx-product-info .right .attrs .num input {
    border-left: 1px solid #e4e4e4;
    border-right: 1px solid #e4e4e4;
    width: 60px;
    line-height: 26px;
    text-align: center;
    color: #979797;
}

.xtx-product-info .right .attrs .num a {
    width: 28px;
    text-align: center;
    line-height: 26px;
    color: #979797;
}

.xtx-product-info .right .item {
    color: #999;
    display: flex;
    padding-top: 20px;
    align-items: center;
}

.xtx-product-info .right .item .dt {
    width: 50px;
}

.xtx-product-info .right .item .dd {
    flex: 1;
    color: #666;
}

.xtx-product-info .right .buy {
    width: 220px;
    height: 50px;
    background: #27BA9B;
    border-radius: 4px;
    display: block;
    color: #fff;
    font-size: 16px;
    text-align: center;
    line-height: 50px;
}

.xtx-relevant-product {
    background: #fff;
    margin: 20px 0;
    padding: 30px 28px;
    position: relative;
}

.xtx-relevant-product h3 {
    font-weight: normal;
    font-size: 20px;
    padding-bottom: 8px;
    padding-left: 25px;
}

.xtx-relevant-product .prev,
.xtx-relevant-product .next {
    position: absolute;
    top: 200px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #dbdbdb;
}

.xtx-relevant-product .prev span,
.xtx-relevant-product .next span {
    font-size: 30px;
}

.xtx-relevant-product .prev {
    left: 0;
}

.xtx-relevant-product .next {
    right: 0;
}

.xtx-relevant-product ul {
    display: flex;
    justify-content: space-between;
}

.xtx-relevant-product ul li {
    width: 278px;
    height: 360px;
    text-align: center;
}

.xtx-relevant-product ul li img {
    width: 190px;
    height: 190px;
    margin-top: 25px;
}

.xtx-relevant-product ul li .name {
    font-size: 16px;
    line-height: 40px;
}

.xtx-relevant-product ul li .desc {
    color: #999;
    line-height: 50px;
}

.xtx-relevant-product ul li .price {
    color: #CF4444;
    font-size: 18px;
    line-height: 50px;
}

.xtx-product-detail {
    display: flex;
    justify-content: space-between;
}

.xtx-product-detail .main {
    width: 942px;
}

.xtx-product-detail .main .cont {
    background: #fff;
}

.xtx-product-detail .main .cont .tab-head {
    height: 70px;
    line-height: 70px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 18px;
    padding: 0 20px;
    position: relative;
}

.xtx-product-detail .main .cont .tab-head a {
    margin-right: 80px;
}

.xtx-product-detail .main .cont .tab-head a span {
    color: #CF4444;
}

.xtx-product-detail .main .cont .tab-head::before {
    content: "";
    position: absolute;
    height: 70px;
    width: 1px;
    background: #f5f5f5;
    top: 0;
    left: 135px;
}

.xtx-product-detail .main .cont .tab-pane .attrs {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
}

.xtx-product-detail .main .cont .tab-pane .attrs .item {
    width: 25%;
    display: flex;
    padding-bottom: 10px;
}

.xtx-product-detail .main .cont .tab-pane .attrs .item span:first-child {
    width: 75px;
    color: #999;
}

.xtx-product-detail .main .cont .tab-pane .attrs .item span:last-child {
    flex: 1;
    color: #666;
}

.xtx-product-detail .main .cont .tab-pane .detail {
    padding: 25px;
    text-align: center;
}

.xtx-product-detail .main .warn {
    margin-top: 20px;
    background: #fff;
    padding-bottom: 40px;
}

.xtx-product-detail .main .warn h3 {
    height: 80px;
    line-height: 80px;
    border-bottom: 1px solid #f5f5f5;
    padding-left: 50px;
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 10px;
}

.xtx-product-detail .main .warn p {
    line-height: 40px;
    padding-left: 25px;
    color: #666;
}

.xtx-product-detail .main .warn p.tit {
    color: #333;
}

.xtx-product-detail .aside {
    width: 278px;
}

.xtx-product-detail .aside .tit {
    width: 278px;
    height: 70px;
    background: #E26237;
    color: #fff;
    font-size: 18px;
    line-height: 70px;
    padding-left: 25px;
    margin-bottom: 10px;
}

.xtx-product-detail .aside .product {
    margin-bottom: 10px;
    background: #fff;
    width: 278px;
    height: 360px;
    text-align: center;
}

.xtx-product-detail .aside .product img {
    width: 190px;
    height: 190px;
    margin-top: 25px;
}

.xtx-product-detail .aside .product .name {
    font-size: 16px;
    line-height: 40px;
}

.xtx-product-detail .aside .product .desc {
    color: #999;
    line-height: 50px;
}

.xtx-product-detail .aside .product .price {
    color: #CF4444;
    font-size: 18px;
    line-height: 50px;
}

.xtx-product-detail .aside .special {
    background: #fff;
    text-align: center;
    margin-bottom: 10px;
}

.xtx-product-detail .aside .special img {
    width: 278px;
    height: 212px;
}

.xtx-product-detail .aside .special .name {
    font-size: 18px;
    padding: 24px 0;
}